<?php 


$sSql="SELECT * FROM shop_order where id=".$currentObject->orderId;
$rs=$GLOBALS["conn"]->Execute($sSql);

if ($rs->fields["fromweb"]!="N") {
	header("Location: /portal/shop_orderlinelist.php?showmaster=shop_order&id=".$currentObject->orderId);
}



?>

<?php

if ($app_shop_hasUnit=="no"){
    ?>
<script>
   $("#el_unitId").parent().parent("tr").hide();
</script>
<?php

}

?>

